let m = (name,url,component,icon,order,child,meta)=>{
    return {
        name:name,
        url:url,
        icon:icon,
        component:component,
        order:order,
        child:child,
        meta:meta
    }
}
export default [
    m("首页","/main","/main",'el-icon-location',1,null,{'name':'首页'}
    ),
    m("聊天","","",'el-icon-location',2,
        [
            m("WebSocket","/chat/websocket","/chat/websocket/index",'',1,null,{'name':'websocket','iframe':false})
        ],{'name':'聊天'}
    ),
    m("系统设置","","",'el-icon-location',3,
        [
            m("缓存设置","/system/cache","/system/cache/index",'',1,null,{'name':'缓存设置'}),
            m("图片处理","/system/photos","/system/photos/index",'',2,null,{'name':'图片处理'}),
            m("百度","/system/photos/abc","/system/iframe",'',2,null,{'name':'百度',iframeUrl:"https://www.baidu.com"}),
        ],{'name':'系统设置'}
    ),
]